package com.ruijie.autotest.log.common.crypto;

public interface Crypto {
	byte[] doCrypto(byte[] rawBytes);

	default Crypto before(Crypto before) {
		return rawBytes -> doCrypto(before.doCrypto(rawBytes));
	}

	static Crypto doNothing() {
		return what -> what;
	}
}
